<?php /* Smarty version 2.6.16, created on 2009-04-25 12:24:24
         compiled from MyGallery.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'MyGallery.html', 10, false),array('function', 'url', 'MyGallery.html', 20, false),array('function', 'img', 'MyGallery.html', 21, false),)), $this); ?>
<?php if (count ( $this->_tpl_vars['aItems'] ) > 0): ?>
<?php if (! $this->_tpl_vars['bHide']): ?>
<table style="width: 100%;" cellpadding="4" cellspacing="0">
	<tr>
		<td class="border2">

			<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
					<td class="block_header"><?php echo smarty_function_language(array('text' => 'my_gallery'), $this);?>
</td>
				</tr>
			</table>

			 <table style="width:100%;" cellspacing="4">
			 <tr><td>
				<table style="width:100%;">
				<tr>
			<?php $_from = $this->_tpl_vars['aItems']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['aitems'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['aitems']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aItem']):
        $this->_foreach['aitems']['iteration']++;
?>
					<td style="width:25%;text-align:center;">
					<a href="<?php echo smarty_function_url(array('link' => 'public.user.gallery.view','id' => $this->_tpl_vars['aItem']['id'],'foxseotitle' => $this->_tpl_vars['aItem']['text'],'name' => $this->_tpl_vars['sUser']), $this);?>
">
					<?php echo smarty_function_img(array('src' => ($this->_tpl_vars['sImageUrl'])."thumb/".($this->_tpl_vars['aItem']['id']).".jpg",'src_def' => "design/pic/noimage_120.jpg",'alt' => "",'style' => "vertical-align:middle;",'class' => 'pic1','onmouseover' => "this.className='pic2';",'onmouseout' => "this.className='pic1';"), $this);?>

					</a>
				</td>
			<?php endforeach; else: ?>
			<td>
			<div class="message_info">
			<?php echo smarty_function_language(array('text' => 'there_are_no_images_submitted_yet'), $this);?>

			</div>
			</td>
			<?php endif; unset($_from); ?>
				</tr>
				</table>
			 </td>
			 </tr>
			 </table>
			 
<div style="padding:8px;text-align:right;">
	<a href="<?php echo smarty_function_url(array('link' => 'public.user.gallery','name' => $this->_tpl_vars['sUser']), $this);?>
" class="link_action">[ <?php echo smarty_function_language(array('text' => 'Mod_Gallery.view_all_my_images'), $this);?>
 ]</a>
</div>			 
			 
		</td>
	</tr>
</table>
<br />
<?php endif; ?>
<?php endif; ?>